import { axios } from "../../utils/request";

const api = {
    info: "/sys/employee/info",
    save: "/sys/employee/save"
};

/**
 * 详情
 */
export function info(parameter) {
  return axios({
    url: api.info,
    method: "get",
    params: parameter
  });
}

/**
 * 保存
 */
export function save(parameter) {
  return axios({
    url: api.save,
    method: "post",
    data: parameter
  });
}